/**
 * Created by dengchao on 2016/4/6.
 */

(function ($){

    /*页面加载进来的时候，发起ajax请求*/
    $.ajax({
        url:"myInformation.do",
        type:'get',
        async:true,
        dataType:'json',
        success:function (data){
            console.log(data);
            $("#information-wenz-span").text(data[0].user_name)
        }

    });

    /*跳转链接*/
    $("#iconfont-i").on("tap",function (){
        window.location.href="../pages/user.html"
    })


})(jQuery);